package com.wuliu.system.domain.dto.app;

import com.wuliu.system.domain.dto.BaseDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

/**
 * @author realue
 * @version 1.0
 * @date 2023-10-25 9:55
 */
@ApiModel(description = "查询用户运单请求类")
@Data
public class UserOrderPreDto extends BaseDto {
    @Range(min = 1, max = 4, message = "类型不正确")
    @ApiModelProperty(value = "状态 0.待接单 1.已接单 2.已揽收 3.已完成 4.已取消")
    private Integer status;
    @ApiModelProperty(value = "当前业务员经度")
    private String lng;
    @ApiModelProperty(value = "当前业务员纬度")
    private String lat;
    @ApiModelProperty(value = "开始时间")
    private String beginTime;
    @ApiModelProperty(value = "结束时间")
    private String endTime;
}
